package com.joysuch.wwyt.attendant.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.joysuch.wwyt.attendant.bean.AttendantPlanContentBean;
import com.joysuch.wwyt.attendant.entity.AttendantPlanContent;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author xsx
 * @version 1.0
 * @date 2023/2/15 11:39
 */
public interface AttendantPlanContentMapper extends BaseMapper<AttendantPlanContent> {

    List<AttendantPlanContent> selectByPlanId(Long id);

    List<AttendantPlanContentBean> selectBeanByPlanId(Long id);

    List<Long> selectIdsByPlanId(Long id);

    void deleteByPlanId(@Param("planId") Long planId);

    List<AttendantPlanContentBean> selectBeanByPlanIds(@Param("ids") List<Long> ids);
}
